package com.cloud.bc.service;

import com.cloud.bc.model.entity.BcCategoryDistricts;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.bc.model.request.DistrictConvertRequest;
import com.cloud.bc.model.request.VoiceListRequest;

import java.math.BigInteger;
import java.util.List;
import java.util.Set;

/**
 * 地区分类
 *
 * @author douhaichao code generator
 * @date 2021-01-03 11:24:32
 */
public interface BcCategoryDistrictsService extends IService<BcCategoryDistricts> {

    int count(BcCategoryDistricts req);

    List<BcCategoryDistricts> selectAll(BcCategoryDistricts req);

    IPage<BcCategoryDistricts> selectPage(Page page, BcCategoryDistricts req);

    IPage<BcCategoryDistricts> selectPageByLike(Page page, BcCategoryDistricts req);

    BcCategoryDistricts selectOne(BcCategoryDistricts req);

    List<BcCategoryDistricts> selectAllById(String[] list);

    List<BcCategoryDistricts> selectAllById(Set<Integer> list);

    void getCityConvert(DistrictConvertRequest req);

    List<BcCategoryDistricts> getAllCategoryDistrictsCache();
}
